/**
 * auto-gen
 */

package com.dating.libs.web.services.registration;

import com.dating.libs.web.services.Host;



/**
 * Class to configure remote host.
 *
 */
public final class Configuration {

    /**
     * Prohibits instantiation.
     */
    private Configuration(){
    }

    /**
     * URL.14.160.51.146:8089
     * 192.168.1.169:8084
     */
    private static String wsUrl = Host.URL0+"/DatingProject/RegistrationService?wsdl";
    public static String wsNameSpace="http://ws.odating.com/";

    /**
     * Configures address of web service, for example
     * <tt>http://localhost:8080/Ws2Ksoap/services/HelloWorld</tt>.
     *
     * @param wsUrl
     *              The address to access to web service.
     */
    public static void setConfiguration(final String wsUrl) {
        if (wsUrl != null) {
            Configuration.wsUrl = wsUrl;
        }
    }

    /**
     *
     * @return The address which the web service is deployed.
     */
    public static String getWsUrl() {
        return wsUrl;
    }
}
